﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace TCC.ControleFluxoDeCaixa.Model.Usuarios
{
    
    public class Pessoa
    {
        [Key]
        [Browsable(false)]
        public int PessoaId { get; set; }
        [Required]
        [Index(IsUnique = true), MaxLength(255)]
        public string Nome { get; set; }

        public override string ToString()
        {
            return Nome;
        }
    }
}